<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 <%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
		<title>欢迎来到检验检疫站</title>
		<link rel="stylesheet" type="text/css" href="${ctx }/css/header.css"/>
	</head>
	<body onload="startTime()"> 
	<div class="date" id="date">
	<script type="text/javascript"> 
 function startTime(){ 
  var today=new Date() ;
  var week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六"); 
  var year=today.getFullYear();
  var month=today.getMonth()+1 ;
  var date=today.getDate() ;
  var day=today.getDay() ;
 /*  var h=today.getHours() 
  var m=today.getMinutes() 
  var s=today.getSeconds()  */
  // add a zero in front of numbers<10 
 /*  h=checkTime(h) 
  m=checkTime(m) 
  s=checkTime(s)  */
  document.getElementById('time').innerHTML="欢迎您，现在是 "+year+"年"+month+"月"+date+"日  "+week[day]+"  "  
  /* t=setTimeout('startTime()',500)  */
 } 
 
 function checkTime(i){ 
 if (i<10)  
   {i="0" + i;} 
   return i ;
 } 
</script> 
 

 
<div id="time" style="color:black;"></div> <%--  <% 
java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-MM-dd "); 

java.util.Date currentTime = new java.util.Date();//得到当前系统时间 

String date = formatter.format(currentTime); //将日期时间格式化 
%> 
	 
	    欢迎你！现在是<%=date.substring(0,4)%>年<%=date.substring(5,7)%>月<%=date.substring(8,10)%>日 --%>
	</div>
		 <div class="mainbav" id="mainbav">	
            <ul >
				<li><a href="${ctx }/base/index.action" target="_top">首页</a></li>
				<li><a href="${ctx }/base/staticmessage!show.action?type=4"target="_top">分会概况</a></li>
				<li><a href="${ctx }/base/newsphoto!list.action" target="_top">图片新闻</a></li>
				<li><a href="${ctx }/base/trends!list.action" target="_top">分会动态</a></li>
				<li><a href="${ctx }/base/announcement!list.action" target="_top">通知公告</a></li>
				<li><a href="${ctx }/base/member!list.action?sort=5" target="_top">会员风采</a></li>
				<li><a href="${ctx }/base/application-for-member-ship!show.action" target="_top">入会申请</a></li>
				<li><a href="${ctx }/base/staticmessage!show.action?type=1" target="_top">联系我们</a></li>
			</ul>

		 </div>





	</body>
</html>